package ch.silviowangler.hockeygame.domain;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.net.URL;

/**
 * @author Silvio Wangler
 * @since 1.0
 *        Date: 27.04.2010
 */
@Entity
@Table(name = "hockey_team")
public class Team extends BaseEntity implements Serializable {

    private String name;
    private URL homepage;
    private String stadionName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public URL getHomepage() {
        return homepage;
    }

    public void setHomepage(URL homepage) {
        this.homepage = homepage;
    }

    public String getStadionName() {
        return stadionName;
    }

    public void setStadionName(String stadionName) {
        this.stadionName = stadionName;
    }
}
